/*
 * ir_drv.h
 *
 * Created: 19.03.2013 22:10:48
 *  Author: Timmo
 */ 


#ifndef IR_DRV_H_
#define IR_DRV_H_

//const char *camera_strings[] = {str_canon,str_nikon,str_pentax,str_sony,str_olympus, NULL};
enum camera_types{
    canon = 0,
    nikon,
    pentax,
    sony,
    olympus,
};

#define IR_FREQ_32KHZ 60
#define IR_FREQ_38KHZ 52
#define IR_FREQ_40KHZ 49

void init_IR(uint8_t ir_frequency);
void IR_pulse(uint16_t len_us);
void IR_Trigger(enum camera_types);


#endif /* IR_DRV_H_ */